<?php

use think\Env;

return [
    'aes_key' => Env::get('live_app.aes_key'),// AES 密钥 , 服务端和客户端必须保持一致
    'aes_iv' => Env::get('live_app.aes_iv'),// 初始化向量
    'aes_method' => Env::get('live_app.aes_method'),// 加密函数
    'app_types' => Env::get('live_app.app_types'),// 允许的客户端类型
    'app_sign_time' => Env::get('live_app.app_sign_time'),// 签名sign失效时间 /s
    'app_sign_cache_time' => Env::get('live_app.app_sign_cache_time'),// 签名sign 缓存失效时间 /s
    'login_time_out_day' => Env::get('live_app.login_time_out_day'),// 登录token的失效时间 /day

    /**
     * 模拟账号 for debug
     * from int 原账号id
     * to   int 需要模拟的账号id
     */
    'simulation' => [
        'from' => (int)Env::get('simulation.from'),
        'to' => (int)Env::get('simulation.to'),
    ],

    'reward_list' => [
        1 => [
            'id' => 1,
            'coin' => 10,
            'des' => '热情洋溢'
        ],
        2 => [
            'id' => 2,
            'coin' => 60,
            'des' => '幽默风趣'
        ],
        3 => [
            'id' => 3,
            'coin' => 100,
            'des' => '真实全面'
        ],
        4 => [
            'id' => 4,
            'coin' => 160,
            'des' => '生动贴切'
        ],
        5 => [
            'id' => 5,
            'coin' => 280,
            'des' => '非常专业'
        ],
        6 => [
            'id' => 6,
            'coin' => 520,
            'des' => '奇准无比'
        ],
    ],
    'user_cancel_list' => [
        1 => [
            'id' => 1,
            'name'=>'等太久了',
        ],
        2 => [
            'id' => 2,
            'name'=>'感觉不专业',
        ],
        3 => [
            'id' => 3,
            'name'=>'暂时有事',
        ],
        4 => [
            'id' => 4,
            'name'=>'想再看看',
        ],
        5 => [
            'id' => 5,
            'name'=>'其它',
        ],
    ],
    'live_cancel_list' => [
        1 => [
            'id' => 1,
            'name'=>'用户问题不清晰',
        ],
        2 => [
            'id' => 2,
            'name'=>'用户原因',
        ],
        3 => [
            'id' => 3,
            'name'=>'不想答了',
        ],
        4 => [
            'id' => 4,
            'name'=>'其它',
        ]
    ]
];
